<!--%import("filter/insert_shortcut.xml")-->
<!--#include("header.html")-->

<!-- 관리자 메뉴 바로가기 추가를 위한 임시 form -->
<form id="fo_shortcut" action="./" method="get">
    <input type="hidden" name="selected_module" value="" />
</form>
    <h4 class="xeAdmin">{$lang->module}</h4>
    <table cellspacing="0" class="rowTable">
    <thead>
        <tr>
            <th class="wide"><div>{$lang->module_name}</div></th>
            <th><div>{$lang->version}</div></th>
            <th><div>{$lang->author}</div></th>
            <th><div>{$lang->table_count}</div></th>
            <th><div>{$lang->path}</div></th>
            <th><div>{$lang->module_action}</div></th>
        </tr>
    </thead>
    <tbody>
    <!--@foreach($module_list as $key => $val)-->
        <tr class="row{$cycle_idx}">
            <td><a href="{getUrl('','module','module','act','dispModuleAdminInfo','selected_module',$val->module)}" onclick="popopen(this.href,'module_info');return false"title="{trim($val->description)}">{$val->title}</a> ({$val->module})</td>
            <td class="center number">{$val->version}</td>
            <td class="nowrap">
                <!--@foreach($val->author as $author)-->
                <!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;"><!--@end-->{$author->name}<!--@if($author->homepage)--></a><!--@end-->
                <!--@endforeach-->
            </td>
            <td class="number center <!--@if($val->created_table_count != $val->table_count)-->alert<!--@end-->">
                {$val->created_table_count}/{$val->table_count}
            </td>
            <td class="nowrap">{$val->path}</td>
            <td class="nowrap center <!--@if($val->need_install || $val->need_update)-->alert<!--@end-->">
                <!--@if($val->need_install)-->
                    <a href="#" onclick="doInstallModule('{$val->module}');return false;">{$lang->cmd_install}</a>
                <!--@elseif($val->need_update)-->
                    <a href="#" onclick="doUpdateModule('{$val->module}'); return false;">{$lang->cmd_update}</a>
                <!--@else-->
                    -
                <!--@end-->
            </td>
        </tr>
        <!--@end-->
    </tbody>
    </table>
